package cloth.dao;

import java.sql.SQLException;
import java.util.ArrayList;
import java.util.HashMap;

import org.springframework.orm.ibatis.SqlMapClientTemplate;

import cloth.vo.ZipcodeVO;



public class ZipcodeDAO {
	private SqlMapClientTemplate client;
	public ZipcodeDAO(){}

	public void setSqlMapClientTemplate(SqlMapClientTemplate client) {
		this.client = client;
	}
	public ArrayList<ZipcodeVO> selectByDong(String dong) throws SQLException{
		return (ArrayList<ZipcodeVO>)client.queryForList("selectByDong",dong);
	}
}
